package com.example.s3demo.model

import java.io.IOException
import java.io.InputStream

class S3ObjectInputStream(val metadata: ObjectMetadata, private val objectData: InputStream) : InputStream() {
    @Throws(IOException::class)
    override fun read(): Int {
        return objectData.read()
    }
}
